﻿using Common;
using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuartzJob
{
    public class ICeshiTwoJob : IJob
    {
        private readonly Ilog4netHelper ilog4NetHelper;
        public ICeshiTwoJob(Ilog4netHelper ilog4NetHelper)
        {
            this.ilog4NetHelper = ilog4NetHelper;
        }
        public Task Execute(IJobExecutionContext context)
        {

            return Task.Run(() =>
            {
                ilog4NetHelper.Info("2号定时任务" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
            });
        }
    }
}
